[Networking & Communications]-

Tasks for the week:

Design and build a wired &/or wireless network connecting at least two processors

Designing schematic & board layout

I have decided to use I2C communication to communicate between two attiny45 based boards.

I have interfaced switch to one attiny 45 board (Slave board)& led to another attiny45 board (Master board). When a switch will be pressed on slave board, it will communicate the same to master board through I2c & accordingly LED on master board will glow.

Here is the schematic & board layout designed in eagle for both the boards.:-

Board Bridge:

responsive

bridge

responsive

Board Node:

responsive

Node board

responsive

Milling and assembling process was done on of my board.

Board Bridge and Node:

responsive

Bridge board

responsive

Node board

Final board bridge board and node board

responsive

Here is the schematic & board layout designed i used Neil's boards for flexible :-

I made flexible circuit board in Vinyl cutter:-

Board:

responsive

bridge

responsive

node

traces:

Below you can see the traces of my design.

responsive

node traces

Milling process was done on the Vinyl cutter for cutting out the traces of my board.

responsive

Cutting process in vinyl

Next step -cutting Pad size

traces:

Setting up the machine

responsive responsive

Finished cutting

responsive responsive

Adding on the board

responsive responsive

Components required:

Attiny 45
FTDI 6 pin
AVR ISP 6 pin header
4 pin SMD pin header
SMD LED
10K Resistor
1uF Capacitor

Assembling and Soldering

responsive

bridge board

responsive

node boards

Programming the boards:

To begin with, I programmed the Arduino to work as ISP. Then, I connected my board to the arduino using the MISO,MOSI, SCK and RST pins. The video can be seen below:

blinking programing in flexible serket board with arduino

Since Serial communication was required, and Attiny uses software serial to communicate, I needed to burn the bootloader. This can be done as shown in the image below:

Adding on the board

responsive responsive

I followed the same process for the Node circuit, by burning the bootloader on it to ensure that the clock cycles match on both boards. The video below shows the same:

Embedded Programming

Here is the master code.

.C file

Make file

.makefile

Here is a video showing the communication of bridge and node a and node b via serial input.

Learning Outcomes-

In this assignment I learned about Networking & Communications Programming which is really best for experiment the Networking & Communications and ,aapintentor Good experience in work.

To download my files click here